Schnittstelle ExportFilePresenter.HasPrintRange
- Umschließende Klasse:
ExportFilePresenter
public static interface ExportFilePresenter.HasPrintRange
Interface for PrintToX which have a Print-Range property.
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidsetPrintRange(int from, int to) Set the range of pages to render into the pdf.
If both parameters are -1, all pages will be printed.
-
Methodendetails
-
setPrintRange
void setPrintRange(int from, int to) Set the range of pages to render into the pdf.
If both parameters are -1, all pages will be printed. This is the default setting.- Parameter:
from- the first page to include, 0-based.to- the last page to include, must be greater or equal to from and smaller thanPrintPainter.calculatePages(int, int, java.awt.font.FontRenderContext).
-